<script type="text/javascript">
      $(document).ready(function() {
        setTimeout(function(){
          $("#kotak").fadeOut("slow", function () {
            $("#kotak").remove();
          });    
        }, 3000);
      });
</script>
<style type="text/css">
      #kotak {
        width: 200px;
        height: 20px;
      }
	  ul.list{
		padding:10px;
	  }
	  ul.list li{
		display:block;
		padding:3px;
	  }
	  ul.list li strong{
		display:inline-block;
		width:100px;
	  }
</style>
<div class="left"></div>
<div class="right"></div>
<div class="heading">
	<h1 style="background-image: url('<?php echo base_url()?>assets/images/order.png');">Order</h1>
</div>
<div class="yui-gc wrapper">
    <div class="yui-u first">
        <fieldset>
		<legend>Detail Order</legend>
		<ul class="list">
			<li>
				<strong>Code Order</strong>: <?php echo get_order_data($row->order_id)->order_code;?>
			</li>
			<li>
				<strong>Nama</strong>: <?php echo $row->nama;?>
			</li>
			<li>
				<strong>Tanggal Bayar</strong>: <?php echo $row->tgl_bayar;?>
			</li>
			<li>
				<strong>No Rek</strong>: <?php echo $row->no_rek_pengirim;?>
			</li>
			<li>
				<strong>Bank Pengirim</strong>: <?php echo $row->bank_pengirim;?>
			</li>
			<li>
				<strong>Bank Tujuan</strong>: <?php echo get_bank_data($row->bank_tujuan_id)->nama_bank;?>
			</li>
			<li>
				<strong>Sejumlah</strong>: <?php echo formatHarga($row->jumlah,'lengkap');?>
			</li>
		</ul>
    </fieldset>
    </div>
	<div class="yui-u">
	<fieldset>
		<legend>Status Konfirmasi</legend>
		<form action="" method="post" enctype="multipart/form-data">
          <ul>
            <li>
				<label>Status</label>
				<?php 
				$attr = 'id="status" style="width:300px;"';
				$options = array(
				  'approved'=> 'Approved',
				  'unapproved' => 'Unapproved'
				);
				echo form_dropdown('status', $options, $row->status, $attr);
				?>
			</li>
			<li>
				<input type="hidden" name="konfirmasi_id" value="<?php echo $row->konfirmasi_id?>">
				<input type="submit" value="Simpan"> atau
				<a href="<?php echo site_url('backend/order_confirm')?>">Batal</a>
			</li>
         </ul> 
		</form>
	</fieldset>
	</div>
</div>